<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>浮动</title>
    <style>
        .box{
            width: 100px;
            height: 100px;
            border: 1px solid red;
            background-color: rgb(226, 175, 175);
            display: inline-block;
            font-size: 16px;
            vertical-align: top;
        }
        body{
            font-size: 0;
        }

    </style>
</head>
<body>
    <div class="box">1321313</div>
    <div class="box"></div>
    <div class="box"></div>
    <div class="box"></div>
</body>
</html>